package com.us.usws.site.ipodium.share;

public class IpodiumPagination extends Pagination {

	public IpodiumPagination(int pageNo, int pageCount, String baseUrl) {
		super(pageNo, pageCount, baseUrl);
	}

	@Override
	public Style getStyle() {
		return Style.Ipodium;
	}

	@Override
	public String getCurrentPageHTML(int pg) {
		String ret = "<li class=\"dn\">" + pg + "</li>";
		return ret;
	}

	@Override
	public String getLinkedPageHTML(int pg, String displayName) {
		StringBuilder sb = new StringBuilder();
		sb.append("<li><a href=\"");
		sb.append(getBaseUrl()).append("?pageNo=").append(pg);
		sb.append("\">").append(displayName).append("</a></li>");
		return sb.toString();
	}

}
